package com.xneure.enging.widget.impl;

import com.xneure.enging.Context;
import com.xneure.enging.RequestContext;
import com.xneure.enging.WebContext;
import com.xneure.enging.event.EventNotify;
import com.xneure.enging.ui.UiEntry;
import com.xneure.enging.widget.Widget;

public class Entry extends Widget<UiEntry> {
	
	public Entry() {
		this(new WebContext());
	}
	public Entry(Context ctx) {
		super(null);
		setContext(ctx);
		setTitle("UI入口");
		EventNotify eventNotify = RequestContext.getEventNotify(ctx.getId());
		eventNotify.initRes();
	}
	public void setTitle(String title) {
		getHtmlEle().setTitle(title);
	}
}
